package my.convert;

import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Map;

import my.convert.annotation.DateFormat;

public class Person {
	private int id;
	private String name;
	private double doubleVal;
	//@DateFormat("yyyy-MM-dd")
	private Date dateVal;
	private int[] intArr;
	private List<Person> son ;
	private Map<String,Person> son3 ;
	private Map<String,String> mapstring ;
	private Person[] son2 ;
	private Person father;
	private double [] doubleArr;
	private String [] strArr;
	
	
	
	public String[] getStrArr() {
		return strArr;
	}

	public void setStrArr(String[] strArr) {
		this.strArr = strArr;
	}

	public double[] getDoubleArr() {
		return doubleArr;
	}

	public void setDoubleArr(double[] doubleArr) {
		this.doubleArr = doubleArr;
	}

	public Map<String, ?> getSon3() {
		return son3;
	}

	public void setSon3(Map<String,Person> son3) {
		this.son3 = son3;
	}

	public Map<String, String> getMapstring() {
		return mapstring;
	}

	public void setMapstring(Map<String, String> mapstring) {
		this.mapstring = mapstring;
	}

	public Person[] getSon2() {
		return son2;
	}

	public void setSon2(Person[] son2) {
		this.son2 = son2;
	}

	public Person getFather() {
		return father;
	}

	public void setFather(Person father) {
		this.father = father;
	}

	public List<Person> getSon() {
		return son;
	}

	public void setSon(List<Person> son) {
		this.son = son;
	}

	public void xxx(int id, String name) {
		this.id = id;
		this.name = name;
	}
	
	public Person() {
		super();
	}
	public Person(int id, String name) {
		super();
		this.id = id;
		this.name = name;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public double getDoubleVal() {
		return doubleVal;
	}

	public void setDoubleVal(double doubleVal) {
		this.doubleVal = doubleVal;
	}


	public Date getDateVal() {
		return dateVal;
	}

	public void setDateVal(Date dateVal) {
		this.dateVal = dateVal;
	}

	public int[] getIntArr() {
		return intArr;
	}

	public void setIntArr(int[] intArr) {
		this.intArr = intArr;
	}

	@Override
	public String toString() {
		return "Person [id=" + id + ", name=" + name + ", doubleVal=" + doubleVal + ", dateVal=" + dateVal + ", intArr="
				+ Arrays.toString(intArr) + ", son=" + son + ", son3=" + son3 + ", mapstring=" + mapstring + ", son2="
				+ Arrays.toString(son2) + ", father=" + father + ", doubleArr=" + Arrays.toString(doubleArr)
				+ ", strArr=" + Arrays.toString(strArr) + "]";
	}

	
	
	
	
}
